Skip to content

[#161777597] Create PUT method to cancel order #28

Merged
ipaullly merged 11 commits intodevelopfrom
ft-PUT-cancel-order-161777597
Nov 15, 2018
Merged

[#161777597] Create PUT method to cancel order #28
ipaullly merged 11 commits intodevelopfrom
ft-PUT-cancel-order-161777597

Conversation

@ipaullly
Copy link
Owner

@ipaullly ipaullly commented Nov 7, 2018

What does this PR do?

Creates a PUT endpoint that allows a user to cancel an order

Description of Task to be completed?

A user can send a PUT request with an order id and receive a 201 response message

How should this be manually tested?

clone repo into a local directory
git clone --single-branch -b ft-PUT-cancel-order-161777597 git@github.com:ipaullly/sendIT.git
cd into the sendIT directory
activate virtual environment
source venv/bin/activate
install dependencies
pip install requirements.txt
power up Postman and send a body of JSON via a POST method to your server several times to generate orders in the database. Now pass an order id via a PUT request to cancel a order.

What are the relevant pivotal tracker stories?

#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant